package com.example.tibetanmedicinechest.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 编程笨蛋
 * @since 2023-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_content")
public class Content implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户id
     */

    private Integer user_id;

    /**
     * 药品id
     */
    private Integer medicine_id;

    /**
     * 评论内容
     */
    private String content;


}
